﻿@model ScrumProject.Models.Members
@{
    ViewBag.Title = "Delete User";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Delete User</h2>

<h3>Are you sure you want to remove user from project?</h3>
<table class="table">
    <thead></thead>
    <tbody>
        <tr>
            <td>
                Name
            </td>
            <td>
                @Html.TextBoxFor(model => model.User.Username, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
          <tr>
            <td>
                Role
            </td>
            <td>
                @Html.TextBoxFor(model => model.Role, new { disabled = "disabled", @readonly = "readonly" })
            </td>
        </tr>
        </tbody>
        </table>

    @*<div class="display-label">projectId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ProjectId)
    </div>*@

@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete User" class="btn" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
